package cate.game.role.base.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MergeMsgOutput;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.id.MsgIdBRole;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "主角等级经验改变的返回")
public class RoleLevelUpdateResp extends MergeMsgOutput {
    @NoteField(value = "等级")
    public int level;

    @NoteField(value = "经验")
    public long exp;

    public RoleLevelUpdateResp(){

    }

    public RoleLevelUpdateResp(int level, long exp){
        this.level = level;
        this.exp = exp;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBRole.LEVEL_UPDATE_RESP;
    }

    @Override
    public boolean merge(Object another) {
        return false;
    }
}
